import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Calendar;
import java.util.GregorianCalendar;


public class HttpTest1
{

   /**
    * @param args
    */
   public static void main(String[] args)
   {
      Calendar a = new GregorianCalendar();
      a.set(2009, 1, 4);
      
      System.out.println(a.get(Calendar.YEAR));
      System.out.println(a.get(Calendar.DAY_OF_MONTH));
      System.out.println(a.get(Calendar.MONTH));

   }

}
